import service from "@/utils/request";

const NoticeApi = {
  // 通知列表
  noticeList(data) {
    return service.get("sysNotify/page", { params: data });
  },
  // 一键重播
  noticeRepeat(data) {
    return service.get("sysNotify/againNotify", { params: data });
  },
  //通知详情
  noticeDetail(data) {
    return service.get("sysNotify", { params: data });
  },
  //通知明细列表
  notifyMx(data) {
    return service.get("notifyTaskRecord/page", { params: data });
  },
  //线下通知
  offlineNotice(data) {
    return service.put("notifyTaskRecord/offLineNotify", data);
  },
  //通知统计
  noticeStatistics(data) {
    return service.get("sysNotify/getNotifyCount", { params: data });
  },
};

export default NoticeApi;
